<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script src="https://lf-cdn.coze.cn/obj/unpkg/flow-platform/chat-app-sdk/1.2.0-beta.10/libs/cn/index.js"></script>
<script>
    new CozeWebSDK.WebChatClient({
        config: {
            bot_id: '7554953673320103971',
        },
        componentProps: {
            title: 'Coze',
        },
        auth: {
            type: 'token',
            token: 'pat_OA0N8ZYfHBPrpBLmPFKf7z9rKCt70Jv1uLtjpt8n92HHm4oJOIoHObOyMarl86Uq',
            onRefreshToken: function () {
                return 'pat_OA0N8ZYfHBPrpBLmPFKf7z9rKCt70Jv1uLtjpt8n92HHm4oJOIoHObOyMarl86Uq'
            }
        }
    });
</script>
</body>
</html>
